#define _CRT_SECURE_NO_WARNINGS 1
#include "queue.h"

void test1() {
	queue q ;
	queueInit(&q);

	queuePush(&q, 1);
	queuePush(&q, 2);
	queuePush(&q, 3);
	queuePush(&q, 4);
	queuePush(&q, 5);
	queuePush(&q, 6);
	queuePush(&q, 7);

	while (!queueEmpty(&q)) {
		printf("%d", queueFront(&q));
		queuePop(&q);
	}

	queueDestory(&q);
}

int main() {
	test1();
	return 0;
}